/***************************************************
> Copyright (C) 2024 ==LENA== All rights reserved.
> File Name: 0701-4.c
> Author: lena
> Mail:lena_li@126.com
> Created Time: 2024年07月01日 星期一 01时51分15秒
***************************************************/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc,const char* argv[])
{
	float time=0,money=0,inter=0;
	printf("请输入时间:    存款钱数:\n");
	scanf("%f %f",&time,&money);
	if(time<=3){
		inter=1.35/12*time*money;
	}
	else if(time>3&&time<=6){
		inter=1.55/12*time*money;
	}else if(time>6&&time<=12){
		inter=1.75/12*time*money;
	}else if(time>12&&time<=24){
		inter=2.25/12*time*money;
	}else{
		inter=2.75/12*time*money;
	}
	printf("%f",inter);
	return 0;
}
